package org.dreamfly.core.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * SzVideo entity. @author MyEclipse Persistence Tools
 */

public class SzVideo implements java.io.Serializable {

	// Fields

	private Long id;
	private SzVideoType szVideoType;
	private String title;
	private String note;
	private String fileType;
	private Integer size;
	private String server;
    private String     disrate;
	private String videoUrl;
	private String minPictureUrl;
    private String     pictureUrl;
	private Set szTempVideos = new HashSet(0);

	// Constructors

	/** default constructor */
	public SzVideo() {
	}

	/** minimal constructor */
	public SzVideo(SzVideoType szVideoType, String fileType, Integer size,
			String videoUrl, String minPictureUrl) {
		this.szVideoType = szVideoType;
		this.fileType = fileType;
		this.size = size;
		this.videoUrl = videoUrl;
		this.minPictureUrl = minPictureUrl;
	}

	/** full constructor */
	public SzVideo(SzVideoType szVideoType, String title, String note,
			String fileType, Integer size, String server, String videoUrl,
			String minPictureUrl, Set szTempVideos) {
		this.szVideoType = szVideoType;
		this.title = title;
		this.note = note;
		this.fileType = fileType;
		this.size = size;
		this.server = server;
		this.videoUrl = videoUrl;
		this.minPictureUrl = minPictureUrl;
		this.disrate = disrate;
		this.szTempVideos = szTempVideos;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public SzVideoType getSzVideoType() {
		return this.szVideoType;
	}

	public void setSzVideoType(SzVideoType szVideoType) {
		this.szVideoType = szVideoType;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getFileType() {
		return this.fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public Integer getSize() {
		return this.size;
	}

	public void setSize(Integer size) {
		this.size = size;
	}

	public String getServer() {
		return this.server;
	}

	public void setServer(String server) {
		this.server = server;
	}

	public String getVideoUrl() {
		return this.videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}

	public String getMinPictureUrl() {
		return this.minPictureUrl;
	}

	public void setMinPictureUrl(String minPictureUrl) {
		this.minPictureUrl = minPictureUrl;
	}
	public Set getSzTempVideos() {
		return this.szTempVideos;
	}
	public void setSzTempVideos(Set szTempVideos) {
		this.szTempVideos = szTempVideos;
	}

	public String getDisrate() {
		return this.disrate;
	}

	public void setDisrate(String disrate) {
		this.disrate = disrate;
	}

    public String getPictureUrl() {
        return pictureUrl;
	}

}